xend: Increase shutdown timeout.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 25 May 2007 09:16:00 +0000 (10:16 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 25 May 2007 09:16:00 +0000 (10:16 +0100)
30 seconds is not a very long time for a busy domain to cleanly
shutdown all its services, which may be arbitrary in
complexity. Increase the timeout to 5 minutes.

Signed-off-by: John Levon <john.levon@sun.com>
tools/python/xen/xend/XendConstants.py

index d7469ce5fe8828f841223ee30f911e257443b5aa..15dcb67b1f674352b06ef65ef4df7621903e71ff 100644 (file)
@@ -79,7 +79,7 @@ DOM_STATES_OLD = [
 STATE_DOM_OK       = 1
 STATE_DOM_SHUTDOWN = 2
 
-SHUTDOWN_TIMEOUT = 30.0
+SHUTDOWN_TIMEOUT = (60.0 * 5)
 
 ZOMBIE_PREFIX = 'Zombie-'